import Sticky, { STATUS_FIXED } from 'react-stickynode';
import { computedPosition } from '../../main/heightChangeFit';

export default function StickyNode(props) {
    const top = Number(computedPosition(0, ''));

    return <Sticky top={top} {...props} />;
}

StickyNode.STATUS_FIXED = STATUS_FIXED;
